using System;
using System.Collections.Generic;
using UnityEngine;
using DanielSig.Sorcery;

namespace DanielSig.UnityExtensions
{
	public static class XMonoBehaviour
	{
		//private static SortedList<DateTime, 
		
		
		public static void Invoke(this MonoBehaviour comp, String methodName, float time, params System.Object[] args)
		{
			Debug.Log("Invoking: " + methodName);
			comp.CallDelayedWithParams(methodName, time, args);
		}
	}
}

